package org.jeecg.modules.tls.csmg.cssection.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: cs_section
 * @Author: jeecg-boot
 * @Date:   2022-08-05
 * @Version: V1.0
 */
@Data
@TableName("cs_section")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cs_section对象", description="cs_section")
public class CsSection implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**小节名*/
	@Excel(name = "小节名", width = 15)
    @ApiModelProperty(value = "小节名")
    private java.lang.String name;
	/**隶属章节id*/
	@Excel(name = "隶属章节id", width = 15)
    @ApiModelProperty(value = "隶属章节id")
    private java.lang.String chapterId;
	/**分类(1为视频，2为文档，3为图文，4为试卷)*/
	@Excel(name = "分类(1为视频，2为文档，3为图文，4为试卷)", width = 15)
    @ApiModelProperty(value = "分类(1为视频，2为文档，3为图文，4为试卷)")
    private java.lang.Integer classify;
	/**内容(如果分类是视频则为视频地址，为图文则图文内容，为试卷则试卷id)*/
	@Excel(name = "内容(如果分类是视频则为视频地址，为图文则图文内容，为试卷则试卷id)", width = 15)
    @ApiModelProperty(value = "内容(如果分类是视频则为视频地址，为图文则图文内容，为试卷则试卷id)")
    private java.lang.String content;
	/**文档地址*/
	@Excel(name = "文档地址", width = 15)
    @ApiModelProperty(value = "文档地址")
    private java.lang.String documentPath;
	/**需要学习时间*/
	@Excel(name = "需要学习时间", width = 15)
    @ApiModelProperty(value = "需要学习时间")
    private java.lang.Integer requiredStudyTime;
	/**创建用户*/
	@Excel(name = "创建用户", width = 15)
    @ApiModelProperty(value = "创建用户")
    private java.lang.String createUser;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**视频时长*/
    @Excel(name = "视频时长", width = 15)
    @ApiModelProperty(value = "视频时长")
    private java.lang.Integer videoDuration;

    private java.lang.String tenantId;
}
